package cn.gok.homework;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.math.RoundingMode;

/**
 * @Author: zhengyx
 * @Date: 2022/7/7 21:22
 * @Version 1.0
 */
public class HomeWork1 {
    public static void main(String[] args) {
        double a=4444444.4444;
        double b=3.333333;
        BigDecimal bi1=new BigDecimal(a);
        BigDecimal bi2=new BigDecimal(b);
        BigDecimal  result =bi1.divide(bi2,2, RoundingMode.HALF_UP);
        System.out.println(result);
    }
}
